<?php
declare(strict_types=1);
namespace App\Controller;
use Hyperf\HttpServer\Annotation\Middleware;
use App\Middleware\JTAuthMiddleware;
use App\Middleware\CorsMiddleware;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\HttpServer\Annotation\Controller;
use App\Service\User\LikeTagService;
use App\Service\User\LikeTagMarkService;
/**
 * @Controller(prefix="liketag")
 * @Middleware(JTAuthMiddleware::class)
 */
class LikeTagController extends AbstractController
{
    /**
     * 获取随机推荐列表
     * @RequestMapping(path="user_like", methods="post")
     */
    public function user_like(LikeTagService $service)
    {
        return $service->response();
    }

    /**
     * 获取随机推荐列表
     * @RequestMapping(path="mark", methods="post")
     */
    public function mark(LikeTagMarkService $service)
    {
        return $service->response();
    }
}